package com.egg.action.common;

import org.apache.log4j.Logger;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.Results;

import com.opensymphony.xwork2.ActionSupport;

@ParentPackage("default")
@Namespace(value="/")
@Results({@Result(location="/common/404.jsp")})
public class CommonViewResultAction extends ActionSupport {

	private static final long serialVersionUID = 5413176604267188531L;

	Logger logger = Logger.getLogger(this.getClass());

	@Action(value="commonViewResult")
	public String index() {
		logger.debug("------------ 记录下404 -----------");
		return SUCCESS;
	}

}
